package com.woniuxy.bank_a.controller;

import com.woniuxy.bank_a.service.BankaService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: 15489  <br/>
 * Date: 2022/4/1:10:11  <br/>
 * Description:
 */
@RestController
@RequestMapping("/banka")
public class BankaController {

    @Resource
    private BankaService bankaService;
    @GetMapping("/start")
    public boolean start(){
        bankaService.update(1001,1000);
        return true;

    }
}
